package com.caochenlei.observer.system;

public class Client {
    public static void main(String[] args) {
        WeatherObservable wo = new WeatherObservable();
        wo.addObserver(new WebSite1());
        wo.addObserver(new WebSite2());
        wo.setWeather(new Weather(10f, 100f, 30.3f));
    }
}
